#!/bin/bash -x
# $Id$

# desc: a little tool to create many virtual disks

nd=30 # number of disks
vmname=TEST0 # name of host
dsize=60 # size of disks
n=0

while true ; do
	vmware-vdiskmanager -c -s ${dsize}GB -a buslogic -t 0 ${vmware}_${n}.vmdk
	[ "$(($n+1))" -eq "$nd" ] && exit 
done

# vim: ts=4 syn=sh
# end: mk-vmware-disks.sh:
